<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="loanApplyList" checkbox="false" pagination="true" fitColumns="true" title="贷款申请" sortName="id" actionUrl="loanApplyController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="贷款编号"  field="id" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="贷款状态"  field="loanStatus"  query="true"  queryMode="single"  dictionary="loan_state"  width="120"></t:dgCol>
   <t:dgCol title="申请学生姓名"  field="stu_name"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请学年"  field="applyYear"  query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请描述"  field="applyDetali"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="审批人"  field="teacher_name"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="审批日期"  field="dealDate"  formatter="yyyy-MM-dd hh:mm:ss"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="审批详情"  field="dealDetail"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请日期"  field="applyDate"  formatter="yyyy-MM-dd"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="共同还款人"  field="repalyName"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="共同还款人关系"  field="repalyAbout"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="共同还款人联系方式"  field="repalyPhone"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="共同还款人家庭住址"  field="replayAdress"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="共同还款人身份证ID"  field="replayNumberId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="loanApplyController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
   <t:dgToolBar title="录入" icon="icon-add" url="loanApplyController.do?goAdd" funname="add"></t:dgToolBar>
	<t:dgToolBar title="编辑" icon="icon-edit" url="loanApplyController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="loanApplyController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="loanApplyController.do?goUpdate" funname="detail"></t:dgToolBar>
   <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
   <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'loanApplyController.do?upload', "loanApplyList");
}

//导出
function ExportXls() {
	JeecgExcelExport("loanApplyController.do?exportXls","loanApplyList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("loanApplyController.do?exportXlsByT","loanApplyList");
}

 </script>
